<div id="block-block-2" class="block block-block contextual-links-region">

  <?php if($access) : ?>
    <div class="contextual-links-wrapper">
      <ul class="contextual-links">
        <li class="block-configure first last"><a href="/admin/structure/block/manage/jainart_blocks/<?php print $delta; ?>/configure?destination=node/<?php print arg(1); ?>">Configure block</a></li>
      </ul>
    </div>
  <?php endif; ?>

  <div class="content">
    <?php if($title) : ?>
      <h2><?php print $title; ?></h2>
    <?php endif; ?>
    <?php if(!empty($body)) : ?>
      <?php print check_markup($body, 'full_html', '', TRUE); ?>
    <?php else : ?>
      <?php if($access) : ?>
        <a href="/admin/structure/block/manage/jainart_blocks/<?php print $delta; ?>/configure?destination=node/<?php print arg(1); ?>"><?php print $delta; ?></a>
      <?php endif; ?>
    <?php endif;?>
  </div>
</div>


